<script setup>
import { ref } from 'vue'
import API from '../plugins/axios'

const getData = () => {
  API({
    url: '/get/data',
    method: 'get'
  }).then((res) => {
    console.log("success", res)
  });
}

</script>

<template>
  <el-table
      :data="tableData"
      style="width: 100%">
      <el-table-column
        prop="question"
        label="问题"
        width="180">
      </el-table-column>
      <el-table-column
        prop="ask"
        label="回答"
        width="360">
      </el-table-column>
    </el-table>
</template>

<style>

</style>
